﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Adm_INRECDList.aspx.cs" Inherits="ArtLand.OA.Project.ADM.Adm_INRECDList" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <ext:PageManager ID="PageManager1" runat="server" AutoSizePanelID="Grid1" />
        <ext:Grid ID="Grid1" ShowBorder="false" ShowHeader="true"
            Title="行政物资出入库管理" runat="server" DataKeyNames="ID" OnRowDataBound="Grid1_RowDataBound" OnRowSelect="Grid1_RowSelect" EnableRowNumber="true" OnRowCommand="Grid1_RowCommand">
           <%-- <Toolbars>
                <ext:Toolbar ID="Toolbar1" runat="server">
                    <Items>
                        <ext:Button ID="btnNew" Text="添加物资出入库" Icon="Add" EnablePostBack="false" runat="server">
                        </ext:Button>
                        <ext:ToolbarSeparator></ext:ToolbarSeparator>
                        <ext:Button ID="Button1" Text="修改" OnClick="Button1_Click1" Icon="ApplicationEdit" runat="server" Hidden="true">
                        </ext:Button>
                        <ext:ToolbarSeparator></ext:ToolbarSeparator>
                        <ext:Button ID="Button2" Text="删除" OnClick="Button2_Click" Icon="Delete" runat="server" ConfirmText="您确定要这么做吗？">
                        </ext:Button>
                    </Items>
                </ext:Toolbar>
            </Toolbars>--%>
            <Columns>

                 <ext:RenderField Width="200px" ColumnID="InRecdNO" DataField="InRecdNO" FieldType="String"
                    HeaderText="出入库单号">
                    <Editor>
                        <ext:TriggerBox ID="TriggerBox1" EnableEdit="false" TriggerIcon="Search" EmptyText="打开弹出窗口" runat="server">
                        </ext:TriggerBox>
                    </Editor>
                </ext:RenderField>

                <ext:RenderField ColumnID="AddTime" DataField="AddTime" FieldType="Date"
                    Renderer="Date" RendererArgument="yyyy-MM-dd" Width="100px" HeaderText="出/入库日期">
                    <Editor>
                        <ext:DatePicker runat="server" ID="txt_AddTime" Required="true"></ext:DatePicker>
                    </Editor>
                </ext:RenderField>

                <ext:RenderField Width="100px" ColumnID="InOutType" DataField="InOutType" FieldType="String"
                    HeaderText="出入库类型">
                    <Editor>
                        <ext:DropDownList runat="server" ID="Drp_InOutType">
                        </ext:DropDownList>
                    </Editor>
                </ext:RenderField>

                <ext:RenderField Width="200px" ColumnID="REMARK" DataField="REMARK" FieldType="String"
                    HeaderText="备注">
                    <Editor>
                        <ext:TextArea runat="server" ID="txt_REMARK"></ext:TextArea>
                    </Editor>
                </ext:RenderField>
                <ext:WindowField ColumnID="myWindowField" Width="90px" WindowID="Window1" DataTextFormatString="{0}" DataIFrameUrlFields="ID"
                            DataIFrameUrlFormatString="Adm_InrecdChange.aspx?id={0}" DataWindowTitleField="InRecdNO"
                            DataWindowTitleFormatString="查看出入库单" TextAlign="Center" HeaderText="操作" Text="查看" />
                <ext:LinkButtonField ConfirmText="您确定要删除该条记录吗？" ConfirmTarget="Top" ColumnID="ID"
                    Width="40px" CommandName="Del" Icon="Delete" TextAlign="Center" />
            </Columns>
        </ext:Grid>
        <ext:Window ID="Window1" Title="选择物料" Popup="false" EnableIFrame="true" runat="server"
            CloseAction="HidePostBack" EnableConfirmOnClose="true" IFrameUrl="about:blank"
            Target="Top" IsModal="True" Width="710px" Height="400px">
        </ext:Window>

        <ext:Window ID="Window2" Title="选择物料" Popup="false" EnableIFrame="true" runat="server"
            CloseAction="HidePostBack" EnableConfirmOnClose="true" IFrameUrl="about:blank"
            Target="Top" IsModal="True" Width="710px" Height="320px">
        </ext:Window>
        <ext:HiddenField runat="server" ID="HiddenField1"></ext:HiddenField>
    </form>
    <script src="../js/extgridbug.js"></script>
</body>
</html>
